package com.snopy.designPattern.structure.decorator.impl;

import com.snopy.designPattern.structure.decorator.inter.Window;
import com.snopy.designPattern.structure.decorator.inter.WindowDecotator;

/**
 * @author snopy
 * @version 1.0.0
 * @classname HorizonScrollBarDecorator
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/03 11:51
 */
public class HorizonScrollBarDecorator extends WindowDecotator {
    public HorizonScrollBarDecorator(Window window) {
        super(window);
    }

    @Override
    public void draw() {
        super.draw();
        drawHorizonScrollBar();
    }


    @Override
    public String getDescription() {
        return super.getDescription()+",incuding horizontal scrollbar";
    }
    private void drawHorizonScrollBar(){

    }
}
